<html lang="en">
<head>
	<?php
		$this->load->library('session');
	?>
 	<meta charset="utf-8" />
  	<title>Baby Shop</title>
	<link rel="stylesheet" href="<?php echo(CSS.'style.css'); ?>">
</head>
<body>
<div id="header">
<div id="up">
</div>
  <div id="place-nav">
	<ul id="nav">
		<li class="active">
		<li><a href="http://localhost/BabyShop/home.php">Product</a></li>
		<li><a href="#">Transaction</a>
		<ul>
        <li><a href="#">Sale</a></li>
        <li><a href="#">Purchase</a></li>
      </ul>
    </li>
    <li><a href="#">Report</a>
    	<ul>
        <li><a href="#">Sale Report</a></li>
        <li><a href="#">Purchase Report</a></li>
        <li><a href="#">income Statment Report </a></li>
       </ul>
     </li>
  </li>
  </div>
</div>
<div id="main-content">
	<center>
		<table>
			<?php
				// mengambil satuan, as $row hanya penamaan saja
				foreach($query as $row){
					echo $row->ProductId." ";
					echo $row->ProducName."<br/>";
				}
			?>
		</table>
	</center>
</div>
<div id="footer">
@CopyRigth 2013
</div>
</body>
</html>